home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / NEWTEXTF / SOURCE_C / SENDHCME.C < prev   
C/C++ Source or Header  |  1990-08-24  |  318b  |  13 lines

  1. #include "HyperCard.h"
  2.  
  3.         Boolean    SendHCMessage (XCmdBlockPtr paramPtr, char *cstr)
  4.  
  5.             {Str255            pstr;
  6.  
  7.             if (!(*cstr) || CLength (cstr) > 255L)
  8.                 return (false);
  9.             CToP (cstr, pstr);
  10.             paramPtr->inArgs [0] = (long) pstr;
  11.             paramPtr->request = 5;
  12.             (*paramPtr->entryPoint) ();
  13.             return (!(paramPtr->result));}